﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/naija.Master" CodeBehind="index.aspx.vb"
    Inherits="WebApplication11.WebForm6" Title="NaijaTradStyles - Share your style!" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    #prfls5598040065A62DE20308838004C60100
    {
        height: 169px;
        width: 215px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div> </div>
    <div id="MainContent">
        <div id="LoginArea">
        <div class ="LoginView">
            <asp:LoginView ID="LoginView1" runat="server">
                <LoggedInTemplate>
                    Welcome Back!
                    <asp:LoginName ID="LoginName1" runat="server" Font-Bold="True" 
                        Font-Size="Medium" />
                    <br />
                    <br />
                    <asp:LoginStatus ID="LoginStatus1" runat="server" />
                </LoggedInTemplate>
                <AnonymousTemplate>
                    New User?
                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Registration.aspx">Register</asp:HyperLink>
                    <br />
                    <asp:Login ID="Login1" runat="server" BackColor="Black" BorderColor="#FFDFAD" 
                        BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
                        Font-Size="0.8em" ForeColor="White" Height="219px" TextLayout="TextOnTop" 
                        Width="165px" CreateUserText="Join NaijaTradStyles.com" 
                        CreateUserUrl="~/Registration.aspx">
                        <TextBoxStyle Font-Size="0.8em" />
                        <LoginButtonStyle BackColor="White" BorderColor="#CC9966" BorderStyle="Solid" 
                            BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#990000" />
                        <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                        <TitleTextStyle BackColor="#990000" Font-Bold="True" Font-Size="0.9em" 
                            ForeColor="White" />
                    </asp:Login>
                </AnonymousTemplate>
            </asp:LoginView>
        </div>
    <div class ="SecLink "></div>
    </div>
    <div id="FlashArea"> 
    <div class ="FlashAnimation "><div id="FlashIntro">
        <img alt="" src="images/TRAD5.jpg" style="width: 737px; height: 473px" 
            title="Summer Collection 2010" /></div>
        </div>
     <div class ="Content2 ">
        <asp:ListView ID="ListView1" runat="server" DataSourceID="RecentUploaded" 
            EnableModelValidation="True" GroupItemCount="8">
            <AlternatingItemTemplate>
                <td runat="server" style="">
                     <asp:Image ID="Image2" runat="server" ImageUrl='<%# Eval("ProfileImage") %>' Width="75px"  Height="75px" />
                </td>
            </AlternatingItemTemplate>
            
            <EmptyDataTemplate>
                <table runat="server" style="">
                    <tr>
                        <td>
                            No data was returned.</td>
                    </tr>
                </table>
            </EmptyDataTemplate>
            <EmptyItemTemplate>
<td runat="server" />
            </EmptyItemTemplate>
            <GroupTemplate>
                <tr ID="itemPlaceholderContainer" runat="server">
                    <td ID="itemPlaceholder" runat="server">
                    </td>
                </tr>
            </GroupTemplate>
          
            <ItemTemplate>
                <td runat="server" style="">
                    <asp:Image ID="Image3" runat="server" ImageUrl='<%# Eval("ProfileImage") %>' 
                        Width="100px"  Height="100px" />
                </td>
            </ItemTemplate>
            <LayoutTemplate>
                <table runat="server">
                    <tr runat="server">
                        <td runat="server">
                            <table ID="groupPlaceholderContainer" runat="server" border="0" style="">
                                <tr ID="groupPlaceholder" runat="server">
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr runat="server">
                        <td runat="server" style="">
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>
            
        </asp:ListView>
        </div>
    <div class ="Content4 ">
               <asp:SqlDataSource ID="RecentUploaded" runat="server" 
                   ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                   ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
                   
                   
            SelectCommand="SELECT TOP 16 ID, Category, Style, Gender, Ethnic, Description, TodayDate, PicTitle, ProfileImage, UserName FROM UsersUpload ORDER BY ID DESC">
               </asp:SqlDataSource>
    <div class="SpryMenuTwo"> First Advert Goes Here!ates News Goes Here!</div>
                                    <div class="SpryMenuTop">
                                        <div id="TabbedPanels2" class="TabbedPanels">
                                            <ul class="TabbedPanelsTabGroup">
                                                <li class="TabbedPanelsTab" tabindex="0">Email</li>
                    <li class="TabbedPanelsTab" tabindex="0">RSS</li>
                    <li class="TabbedPanelsTab" tabindex="0">Mobile</li>
                </ul>
                <div class="TabbedPanelsContentGroup">
                    <div class="TabbedPanelsContent">
                        Latest styles are in your Email</div>
                    <div class="TabbedPanelsContent">
                        New Feeds are available</div>
                    <div class="TabbedPanelsContent">
                        Instant Update</div>
                </div>
            </div>
        </div>
    </div>
    </div>
  
    </div>
</asp:Content>
